
<div class="pop-ups-container" style="width:97%;">
    <h1>عرض معلومات الوحدة</h1>
     <hr />
        
                <fieldset class="fieldset">
                    <legend class="fieldset_legend">
                        المعلومات الرئيسية
                    </legend>
                    <table style="width:95%;">
                        <tbody><tr>
                            <td class="OppositeTextAlign" style="width: 150px;">
                                <b>
                                    الاسم</b> :
                                <?php echo $aprt['apart_name']; ?>
                            </td>
                            <td style="text-align: center">
                                <strong>
                                    الحالة
									<?php
                                      $status=query("SELECT * FROM apart_status
							                  WHERE status_id=?",$aprt['status']);									
									?>
                                </strong>:
                                <?php echo $status[0]['status_txt']; ?>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </tbody>
                  </table>
                </fieldset>
                

                <fieldset style="width:380px" class="right">
                    <legend >
                        المميزات
                    </legend>
                    <table style="width:395px">
                        <tbody>
                        <tr>
                            <td style="height: 18px; width: 186px;">
                                الطابق
                            </td>
                            <td style="width: 10px;">
                                &nbsp;
                            </td>
                            <td>
                                <strong>
                                   <?php echo $aprt['floor']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد الغرف
                            </td>
                            <td>
                                <strong>
                                    <?php echo $aprt['rooms']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد الأسرّة المفردة
                            </td>
                            <td>
                                <strong>
                                    <?php echo $aprt['single_beds']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد  الاسرة المزدوجة
                            </td>
                            <td>
                                <strong>
                                   <?php echo $aprt['double_beds']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد دورات المياه
                            </td>
                            <td>
                                <strong>
                                   <?php echo $aprt['bathrooms']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد الخزائن
                            </td>
                            <td>
                                    <?php echo $aprt['safes']; ?>
                                <strong>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                عدد التلفزيونات
                            </td>
                            <td>
                                <strong>
                                    <?php echo $aprt['TV']; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 18px;" colspan="2" >
                                نوع المكيف
                            </td>
                            
                            <td>
                                <strong>
                                    <?php echo $cooler_type[$aprt['cooler_type']-1]; ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" height="18px"></td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <table style="width: 100%;" cellspacing="0" border="0" cellpadding="0">
                                    <tbody>
                                    <tr>
                                        <td style="width: 180px;">
                                            <strong>
                                                <input id="chkInternet" <?php if($aprt['internet']){echo "checked = 'checked'";} ?> name="chkInternet" checked="checked" disabled="disabled" type="checkbox"><label for="chkInternet">انترنت</label>
                                            </strong>
                                        </td>
                                        <td style="width: 10px;">
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkRoomCleaning" <?php if($aprt['clean_service']){echo "checked = 'checked'";} ?> name="chkRoomCleaning" checked="checked" disabled="disabled" type="checkbox"><label for="chkRoomCleaning">خدمة تنظيف الغرفة</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkElevator" <?php if($aprt['elevator']){echo "checked = 'checked'";} ?> name="chkElevator" checked="checked" disabled="disabled" type="checkbox"><label for="chkElevator">مصعد</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkCarPark" <?php if($aprt['park']){echo "checked = 'checked'";} ?> name="chkCarPark" disabled="disabled" type="checkbox"><label for="chkCarPark">موقف سيارة</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkPhoneContactsGuide" <?php if($aprt['telephone']){echo "checked = 'checked'";} ?> name="chkPhoneContactsGuide" disabled="disabled" type="checkbox"><label for="chkPhoneContactsGuide">دليل الهاتف</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkOven" <?php if($aprt['oven']){echo "checked = 'checked'";} ?> name="chkOven" disabled="disabled" type="checkbox"><label for="chkOven">فرن</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkNewspaper" <?php if($aprt['newspapers']){echo "checked = 'checked'";} ?> name="chkNewspaper" disabled="disabled" type="checkbox"><label for="chkNewspaper">الصحيفة</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkMicrowave" <?php if($aprt['microwave']){echo "checked = 'checked'";} ?> name="chkMicrowave" disabled="disabled" type="checkbox"><label for="chkMicrowave">مايكرويف</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkQiblahDetermination" <?php if($aprt['qebla']){echo "checked = 'checked'";} ?> name="chkQiblahDetermination" disabled="disabled" type="checkbox"><label for="chkQiblahDetermination">تحديد القبلة</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkWashingMachine" <?php if($aprt['washer']){echo "checked = 'checked'";} ?> name="chkWashingMachine" disabled="disabled" type="checkbox"><label for="chkWashingMachine">غسالة</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkRestaurantsBrochures" <?php if($aprt['rest_list']){echo "checked = 'checked'";} ?> name="chkRestaurantsBrochures" disabled="disabled" type="checkbox"><label for="chkRestaurantsBrochures">قائمة المطاعم</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkIron" <?php if($aprt['iron']){echo "checked = 'checked'";} ?> name="chkIron" disabled="disabled" type="checkbox"><label for="chkIron">مكوى</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkFridge" <?php if($aprt['refregrator']){echo "checked = 'checked'";} ?> name="chkFridge" disabled="disabled" type="checkbox"><label for="chkFridge">ثلاجة</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                            
                                                <input id="chkFoodTable" <?php if($aprt['food_table']){echo "checked = 'checked'";} ?> name="chkFoodTable" disabled="disabled" type="checkbox"><label for="chkFoodTable">طاولة طعام</label>
                                            </strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong>
                                                <input id="chkHall" <?php if($aprt['hall']){echo "checked = 'checked'";} ?> name="chkHall" disabled="disabled" type="checkbox"><label for="chkHall">صالة</label>
                                            </strong>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td>
                                            <strong>
                                                <input id="chkKitchen" <?php if($aprt['kitchen']){echo "checked = 'checked'";} ?> name="chkKitchen" disabled="disabled" type="checkbox"><label for="chkKitchen">مطبخ</label>
                                            </strong>
                                        </td>
                                    </tr>
                                </tbody>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                    </table>
                </fieldset>
                
                
                <div class="left">
                  
                
                  <fieldset style="width:319px;height:396px;">
                      <legend >
                          ملاحظات
                      </legend>
                      <table style="width:310px;"  cellspacing="0" border="0" cellpadding="0">
                          <tbody><tr>
                              <td style="text-align: justify; overflow: auto">
                                    <?php echo $aprt['additional_notes']; ?>
                              </td>
                          </tr>
                      </tbody></table>
                  </fieldset>
              
                </div>
                <div class="clear"></div>
                        
</div>
